package com.svms.web.search;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.zkoss.zk.ui.sys.ComponentsCtrl;
import org.zkoss.zul.Listcell;
import org.zkoss.zul.Listitem;
import org.zkoss.zul.ListitemRenderer;

import com.svms.service.constants.Constants;
import com.svms.service.search.SearchOperators;
import com.svms.service.vo.TransportVO;

public class SearchListModelItemRender implements ListitemRenderer {

	@Override
	public void render(Listitem item, Object data, int index) throws Exception {

		final SearchOperators operators = (SearchOperators) data;
		Listcell lc = new Listcell(operators.getSearchOperatorName());
		lc.setParent(item);
		item.setAttribute("selectedOperator", data);
	}
}
